package cheme.ProcessModel.ProcessUnits.Streams;

import java.util.List;

import org.eclipse.draw2d.geometry.Point;

import cheme.ProcessModel.ProcessUnits.ProcessUnit;


public interface IStream
{
	public static final int TAG_INDEX = 0;
	
	void attachSource();
	void attachSink();
	void detachSource();
	void detachSink();

	ProcessUnit getSource();
	ProcessUnit getSink();

	void setSource(ProcessUnit source);
	void setSink(ProcessUnit sink);

	void addBendpoint(int index, Point point);

	List<Point> getBendpoints();

	void removeBendpoint(int index);
	void replaceBendpoint(int index, Point point);
	
//	public Tag getTag();
//	public void setTag(Tag tag);
}
